﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EditFileSummary.aspx.cs" Inherits="OpenWaves.EPiServer.ImageBrowser.FileSummaryDialogDialog.EditFileSummary"
    MasterPageFile="~/App_Resource/OpenWaves.EPiServer.ImageBrowser/OpenWaves.EPiServer.ImageBrowser.FileSummaryDialogDialog.EPiServerUI.Master" %>
    
<%@ Register TagPrefix="EPiServerUI" Namespace="EPiServer.UI.WebControls" Assembly="EPiServer.UI" %>
<%@ Register TagPrefix="XForms" Namespace="EPiServer.XForms.WebControls" Assembly="EPiServer.XForms" %>

<asp:Content ContentPlaceHolderID="HeaderContentRegion" runat="server">
    <link type="text/css" href="/EPiServer/Shell/1.0.456/ClientResources/epi/themes/legacy/ShellCore.css"/>
    
    <style type="text/css">
        .file-summary-dialog {
            padding: 0 10px 0 10px;
        }
    </style>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="FullRegion" runat="server">
    <div class="epi-editContainer file-summary-dialog">
       <XForms:XFormControl id="XFormCtrl" runat="server"/>
       <asp:Label runat="server" ID="lblFileSummaryNotAvailable" Text="File summary is not available" Visible="false"></asp:Label>
    </div>
    
     <div class="epitoolbuttonrowrightaligned">
        <EPiServerUI:ToolButton ID="btnInsert" IsDialogButton="True" OnClick="OnSave"
            GeneratesPostBack="true" SkinID="Save" Text="<%$ Resources: EPiServer, button.save %>" ToolTip="<%$ Resources: EPiServer, button.save %>" runat="server" />
        <EPiServerUI:ToolButton ID="CancelButton" IsDialogButton="True" OnClientClick="ToolButtonClick(null)"
            GeneratesPostBack="false" SkinID="Cancel" Text="<%$ Resources: EPiServer, button.cancel %>"
            ToolTip="<%$ Resources: EPiServer, button.cancel %>" runat="server" />
    </div>
    
    <script type="text/javascript">
        function ToolButtonClick(returnValue) {
            EPi.GetDialog().Close(returnValue);
        }
    </script>


</asp:Content>